package com.ysy.tz.mfg.entity;

public class DeliveryEntity extends BaseEntity {
    private String deliveryCode;
    private String deliveryName;
    private String deliveryTypeId;
    private String parentDeliveryCode;
    private String parentDeliveryName;
    private String limitEndNumber;
    private String identityCard;
    private String address;
    private String telephoneNumber;
    private String syQty;

    public DeliveryEntity() {
    }

    public String getDeliveryCode() {
        return this.deliveryCode;
    }

    public String getDeliveryName() {
        return this.deliveryName;
    }

    public String getDeliveryTypeId() {
        return this.deliveryTypeId;
    }

    public String getParentDeliveryCode() {
        return this.parentDeliveryCode;
    }

    public String getParentDeliveryName() {
        return this.parentDeliveryName;
    }

    public String getLimitEndNumber() {
        return this.limitEndNumber;
    }

    public String getIdentityCard() {
        return this.identityCard;
    }

    public String getAddress() {
        return this.address;
    }

    public String getTelephoneNumber() {
        return this.telephoneNumber;
    }

    public String getSyQty() {
        return this.syQty;
    }

    public void setDeliveryCode(String deliveryCode) {
        this.deliveryCode = deliveryCode;
    }

    public void setDeliveryName(String deliveryName) {
        this.deliveryName = deliveryName;
    }

    public void setDeliveryTypeId(String deliveryTypeId) {
        this.deliveryTypeId = deliveryTypeId;
    }

    public void setParentDeliveryCode(String parentDeliveryCode) {
        this.parentDeliveryCode = parentDeliveryCode;
    }

    public void setParentDeliveryName(String parentDeliveryName) {
        this.parentDeliveryName = parentDeliveryName;
    }

    public void setLimitEndNumber(String limitEndNumber) {
        this.limitEndNumber = limitEndNumber;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setTelephoneNumber(String telephoneNumber) {
        this.telephoneNumber = telephoneNumber;
    }

    public void setSyQty(String syQty) {
        this.syQty = syQty;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof DeliveryEntity)) {
            return false;
        } else {
            DeliveryEntity other = (DeliveryEntity)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$deliveryCode = this.getDeliveryCode();
                Object other$deliveryCode = other.getDeliveryCode();
                if (this$deliveryCode == null) {
                    if (other$deliveryCode != null) {
                        return false;
                    }
                } else if (!this$deliveryCode.equals(other$deliveryCode)) {
                    return false;
                }

                Object this$deliveryName = this.getDeliveryName();
                Object other$deliveryName = other.getDeliveryName();
                if (this$deliveryName == null) {
                    if (other$deliveryName != null) {
                        return false;
                    }
                } else if (!this$deliveryName.equals(other$deliveryName)) {
                    return false;
                }

                Object this$deliveryTypeId = this.getDeliveryTypeId();
                Object other$deliveryTypeId = other.getDeliveryTypeId();
                if (this$deliveryTypeId == null) {
                    if (other$deliveryTypeId != null) {
                        return false;
                    }
                } else if (!this$deliveryTypeId.equals(other$deliveryTypeId)) {
                    return false;
                }

                label110: {
                    Object this$parentDeliveryCode = this.getParentDeliveryCode();
                    Object other$parentDeliveryCode = other.getParentDeliveryCode();
                    if (this$parentDeliveryCode == null) {
                        if (other$parentDeliveryCode == null) {
                            break label110;
                        }
                    } else if (this$parentDeliveryCode.equals(other$parentDeliveryCode)) {
                        break label110;
                    }

                    return false;
                }

                label103: {
                    Object this$parentDeliveryName = this.getParentDeliveryName();
                    Object other$parentDeliveryName = other.getParentDeliveryName();
                    if (this$parentDeliveryName == null) {
                        if (other$parentDeliveryName == null) {
                            break label103;
                        }
                    } else if (this$parentDeliveryName.equals(other$parentDeliveryName)) {
                        break label103;
                    }

                    return false;
                }

                Object this$limitEndNumber = this.getLimitEndNumber();
                Object other$limitEndNumber = other.getLimitEndNumber();
                if (this$limitEndNumber == null) {
                    if (other$limitEndNumber != null) {
                        return false;
                    }
                } else if (!this$limitEndNumber.equals(other$limitEndNumber)) {
                    return false;
                }

                label89: {
                    Object this$identityCard = this.getIdentityCard();
                    Object other$identityCard = other.getIdentityCard();
                    if (this$identityCard == null) {
                        if (other$identityCard == null) {
                            break label89;
                        }
                    } else if (this$identityCard.equals(other$identityCard)) {
                        break label89;
                    }

                    return false;
                }

                label82: {
                    Object this$address = this.getAddress();
                    Object other$address = other.getAddress();
                    if (this$address == null) {
                        if (other$address == null) {
                            break label82;
                        }
                    } else if (this$address.equals(other$address)) {
                        break label82;
                    }

                    return false;
                }

                Object this$telephoneNumber = this.getTelephoneNumber();
                Object other$telephoneNumber = other.getTelephoneNumber();
                if (this$telephoneNumber == null) {
                    if (other$telephoneNumber != null) {
                        return false;
                    }
                } else if (!this$telephoneNumber.equals(other$telephoneNumber)) {
                    return false;
                }

                Object this$syQty = this.getSyQty();
                Object other$syQty = other.getSyQty();
                if (this$syQty == null) {
                    if (other$syQty != null) {
                        return false;
                    }
                } else if (!this$syQty.equals(other$syQty)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof DeliveryEntity;
    }

    public int hashCode() {
        int result = 1;
        Object $deliveryCode = this.getDeliveryCode();
        result = result * 59 + ($deliveryCode == null ? 43 : $deliveryCode.hashCode());
        Object $deliveryName = this.getDeliveryName();
        result = result * 59 + ($deliveryName == null ? 43 : $deliveryName.hashCode());
        Object $deliveryTypeId = this.getDeliveryTypeId();
        result = result * 59 + ($deliveryTypeId == null ? 43 : $deliveryTypeId.hashCode());
        Object $parentDeliveryCode = this.getParentDeliveryCode();
        result = result * 59 + ($parentDeliveryCode == null ? 43 : $parentDeliveryCode.hashCode());
        Object $parentDeliveryName = this.getParentDeliveryName();
        result = result * 59 + ($parentDeliveryName == null ? 43 : $parentDeliveryName.hashCode());
        Object $limitEndNumber = this.getLimitEndNumber();
        result = result * 59 + ($limitEndNumber == null ? 43 : $limitEndNumber.hashCode());
        Object $identityCard = this.getIdentityCard();
        result = result * 59 + ($identityCard == null ? 43 : $identityCard.hashCode());
        Object $address = this.getAddress();
        result = result * 59 + ($address == null ? 43 : $address.hashCode());
        Object $telephoneNumber = this.getTelephoneNumber();
        result = result * 59 + ($telephoneNumber == null ? 43 : $telephoneNumber.hashCode());
        Object $syQty = this.getSyQty();
        result = result * 59 + ($syQty == null ? 43 : $syQty.hashCode());
        return result;
    }

    public String toString() {
        return "DeliveryEntity(deliveryCode=" + this.getDeliveryCode() + ", deliveryName=" + this.getDeliveryName() + ", deliveryTypeId=" + this.getDeliveryTypeId() + ", parentDeliveryCode=" + this.getParentDeliveryCode() + ", parentDeliveryName=" + this.getParentDeliveryName() + ", limitEndNumber=" + this.getLimitEndNumber() + ", identityCard=" + this.getIdentityCard() + ", address=" + this.getAddress() + ", telephoneNumber=" + this.getTelephoneNumber() + ", syQty=" + this.getSyQty() + ")";
    }
}
